package com.learner.pojo.course.dictionary;

import lombok.Data;
import lombok.ToString;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
import javax.persistence.Id;
import java.util.List;

/**
 * @author ice2020x
 */
@Data
@ToString
@Document(collection = "dictionary_pub")
public class SysDictionary {
    @Id
    private String id;
    @Field("d_name")
    private String dName;
    @Field("d_type")
    private String dType;
    @Field("d_value")
    private List<SysDictionaryValue> dValue;

}